<?php

namespace frontend\modules\dynamic\controllers;

use Yii;
use frontend\components\Controller;
use frontend\models\DynamicSearch;
use frontend\models\DynamicRetweetSearch;
use frontend\models\DynamicLikeSearch;
use frontend\models\DynamicCommentSearch;

/**
 * 动态点赞接口
 * LikeController controller for the `dynamic` module
 */
class LikeController extends Controller {

    /**
     * @inheritdoc
     */
    public function actionIndex($id) {
        $modelClass = new DynamicLikeSearch();
        return $modelClass->search($id);
    }

}
